import VueRouter from "vue-router";
import child from '../view/child'
import childb from '../view/childb'
import childc from '../view/childc'
import childd from '../view/childd'
import childe from '../view/childe'

var router = new VueRouter({
    routes:[
        {
            path:"/",
            redirect:"/child"
        },
        {
            path:'/child',
            name:"child",
            component:child,
        },
        {
            path:'/childb',
            name:"childb",
            component:childb,
        },
        {
            path:'/childc',
            name:"childc",
            component:childc,
        },
        {
            path:'/childd',
            name:"childd",
            component:childd,
        },
        {
            path:'/childe',
            name:"childe",
            component:childe,
        },
    ]
})
export default router